home *** CD-ROM | disk | FTP | other *** search
/ Inside the White House / Inside the White House.iso / export.dir / 00026.ls < prev    next >
Encoding:
Text File  |  1995-07-11  |  505 b   |  27 lines

  1. on pushButton
  2.   set snum to the clickOn
  3.   set cnum to the castNum of sprite snum
  4.   set the castNum of sprite snum to cnum + 1
  5.   updateStage()
  6.   repeat while the stillDown
  7.     nothing()
  8.   end repeat
  9.   if rollOver(snum) then
  10.     set rValue to 1
  11.   else
  12.     set rValue to 0
  13.   end if
  14.   set the castNum of sprite snum to cnum
  15.   return rValue
  16. end
  17.  
  18. on selection
  19.   global tSprite
  20.   if the selection = EMPTY then
  21.     return 0
  22.   else
  23.     copyToClipBoard(cast the castNum of sprite tSprite)
  24.     return 1
  25.   end if
  26. end
  27.